From 85cfb6121a12a602bda34fd35ef707e6efad4b90 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 30 Mar 2010 06:17:51 +0000 Subject: [PATCH] Paul Cornett adds new symbols from PN-40 2.7 firmware. --- delbin.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/delbin.c b/delbin.c index 48b499f41..fc6e13d34 100644 --- a/delbin.c +++ b/delbin.c @@ -1142,7 +1142,7 @@ get_gc_notes(const waypoint* wp, int* symbol, char** notes, unsigned* notes_size } gbfprintf(fd, "Cache ID: %s\n", wp->shortname); - if (gc_sym && atoi(opt_gcsym)) { + if (gc_sym && opt_gcsym && atoi(opt_gcsym)) { gbfprintf(fd, "%s\n", waypoint_symbol(gc_sym)); *symbol = gc_sym; } else if (wp->icon_descr) { @@ -3138,7 +3138,52 @@ static const char* const waypoint_symbol_name[] = { // 180 "Trailhead", "Temporarily Disable Listing", - "Enable Listing" + "Enable Listing", + // 183-222 added in PN-40 2.7 firmware + "Crane Truck", + "Forest Fire", + "Oil Derrick", + "Wind Turbine", + "Letter A", + "Letter B", + "Letter C", + // 190 + "Letter D", + "Letter E", + "Letter F", + "Letter G", + "Letter H", + "Letter I", + "Letter J", + "Letter K", + "Letter L", + "Letter M", + // 200 + "Letter N", + "Letter O", + "Letter P", + "Letter Q", + "Letter R", + "Letter S", + "Letter T", + "Letter U", + "Letter V", + "Letter W", + // 210 + "Letter X", + "Letter Y", + "Letter Z", + "Numeral 0", + "Numeral 1", + "Numeral 2", + "Numeral 3", + "Numeral 4", + "Numeral 5", + "Numeral 6", + // 220 + "Numeral 7", + "Numeral 8", + "Numeral 9" }; static const char* -- 2.30.2